-- card: 20566 from stack: in.1 -- bmap block id: 0 -- flags: 0000 -- background id: 2202 -- name: noButtonDelete ----- HyperTalk script ----- on deleteButton beep 3 answer "You can't do that" domenu copy button domenu paste button end deleteButton -- part 1 (button) -- low flags: 00 -- high flags: A004 -- rect: left=340 top=205 right=265 bottom=440 -- title width / last selected line: 0 -- icon id / first selected line: 21240 / 21240 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: Can't Delete me! ----- HyperTalk script ----- on deleteButton beep 3 answer "You can't do that" domenu copy button domenu paste button end deleteButton -- part 3 (button) -- low flags: 00 -- high flags: A004 -- rect: left=294 top=227 right=287 bottom=394 -- title width / last selected line: 0 -- icon id / first selected line: 21240 / 21240 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: Can't Delete me! ----- HyperTalk script ----- on deleteButton beep 3 answer "You can't do that" domenu copy button domenu paste button end deleteButton -- part contents for background part 10 ----- text ----- 11 -- part contents for background part 3 ----- text ----- noButtonDelete -- part contents for background part 2 ----- text ----- --NOTE: Handlers are included in the Function section for convenience. -- --If you ever create a stack where you want the uninitiated user prevented from --accidentally deleting an important button, put the following handler in the background --or stack script. -- --It is installed in this card. Try to delete the button below... -- --by Steve Drazga, ART Incorporated -- on deleteButton beep 3 answer "You can't do that" domenu copy button domenu paste button end deleteButton